<%@ page language="java" pageEncoding="UTF-8"%>
<%@page import="com.tjsinfo.tjsoa.meetingroom.vo.MeetingRoomEmploy"%>
<%@page import="java.text.SimpleDateFormat"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String id=request.getParameter("id");
	String meetingName=(String)request.getAttribute("strName");
	MeetingRoomEmploy roomempoly=(MeetingRoomEmploy)request.getAttribute("roomEmpoly");
	session.setAttribute("id",id);
	SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<base href="<%=basePath%>" />
		<title>天津市粮油集团有限公司</title>
		
		<style type="text/css">
td {
	font: 12px/ 170% "宋体", "新宋体", "黑体";
	color: #000
}

th {
	font: 12px/ 170% "宋体", "新宋体", "黑体";
	color: #000
}

.black_overlays {
	display: none;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 1200px;
	height: 800px;
	background-color: gray;
	z-index: 1001;
	-moz-opacity: 0.8;
	opacity: .80;
	filter: alpha(opacity = 80);
}

/* 添加任务div样式 */
.ceshi5 {
	 display: none;
				position: absolute;
				top: 25%;
				left: 30%;
				width: 253px;
				height: 235px;
				border: 1px solid #11557B;
				border-bottom: block;
				background-color: #E2F7FF;
				z-index: 1003;
				overflow: auto;
}
</style>
	<link href="<%=basePath%>style/txlz7.css" rel="stylesheet" type="text/css" />
	<link href="<%=basePath %>ajaxFramework/ext-2.1/resources/css/ext-all.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="<%=basePath %>ajaxFramework/ext-2.1/adapter/ext/ext-base.js"></script>
	<script type="text/javascript" src="<%=basePath %>ajaxFramework/ext-2.1/ext-all.js"></script>
	<script type="text/javascript" src="<%=basePath %>ajaxFramework/ext-2.1/source/locale/ext-lang-zh_CN.js"></script> 
	<script type="text/javascript">
    function submitYes(){
	    document.form1.submit();
	}
	function back()
	{
		history.back(-1);
	}
	window.onload = function(){
		document.getElementById("right").style.height = document.body.clientHeight;
		document.getElementById("tableid").style.height = document.body.clientHeight-60;
		var tb = new Ext.Toolbar(
			{
				height:25
			}
		);
	
	    tb.render('menu');
		tb.add(
	    {
	            text:'确定',
	            iconCls: 'daohang',
	        	handler: function(){
	        		submitYes();
				}
	    },
	    {
	            text:'返回',
	            iconCls: 'daohang',
	        	handler: function(){
	        		back();
				}
	    }
	    );
		tb.addFill();
	    tb.addText('<img id="windowResize" src="<%=basePath%>images/m_icon05.gif;"><a style="font-weight:bold; color:black;line-height: 22px;">修改会议纪要</a>&nbsp;&nbsp;&nbsp;');
	}
	</script>
	</head>
	<body>
			<form action="<%=basePath%>tjsinfo/tjsoa/meetingroom/saveMinutes.do" method="post" name="form1">
				<input type="hidden" id="employ_id" name="employ_id" value="<%=id %>"/>
				<div id="right">
				<div id="menu" style="padding-top:4px;"></div>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" id="tableid">
				<tr>
					<td valign="top" height="100%">
						<div class="contabwd">
							<table width="100%" border="0" cellspacing="0"
								cellpadding="0" style="height: 400px">
								<tr>
									<td width="70%">
										<table width="399" border="0" cellspacing="0" cellpadding="0"
											align="center" style="margin-top: 20px">
											<tr>
												<td>
													<img src="images/xxxg.gif" />
												</td>
											</tr>
											<tr>
												<td>
													<div class="lwxx">
														<table width="371" border="0" align="center"
															cellpadding="0" cellspacing="0" class="ttaa">
															<tr>
																	<td width="100px" align="right">
																		<img src="images/dfdf_03.gif" />
																		&nbsp;会议名称:
																	</td>
																	<td width="251px">
																	<!-- <input name="meetingName" type="text" size="41"
																			style="border: 1px #C0C0C0 solid; background: #F4F4F4; height: 19px" /> -->
																		<%=roomempoly.getMeetingName() %>
																	</td>
																	<td width="20px">
																		&nbsp;
																	</td>
																</tr>
																<tr>
																	<td align="right" width="200px">
																		<img src="images/dfdf_03.gif" />
																		&nbsp;计划开始时间:
																	</td>
																	<td>
																	<!-- <input value="" type="text" size="41"
																			style="border: 1px #C0C0C0 solid; background: #F4F4F4; height: 19px"/> -->
																			<%=sdf.format(roomempoly.getStartTime()) %>
																	</td>
																	<td>
																		&nbsp;
																	</td>
																</tr>
																<tr>
																	<td align="right">
																		<img src="images/dfdf_03.gif" />
																		&nbsp;计划结束时间:
																	</td>				
																	<td>
																	<!-- <input value="" type="text" size="41"
																			style="border: 1px #C0C0C0 solid; background: #F4F4F4; height: 19px"/> -->
																			<%=roomempoly.getEndTime() %>
																	</td>
																	<td>
																		&nbsp;
																	</td>
																</tr>
												<tr>
													<td align="right">
														<img src="images/dfdf_03.gif" />
														&nbsp;会议时间段:
													</td>
													<td>
														<select id="remarks" name="remarks">
															<option value="上午" <%if("上午".equals(roomempoly.getRemarks()))out.print("selected"); %>>上午</option>
															<option value="下午" <%if("下午".equals(roomempoly.getRemarks()))out.print("selected"); %>>下午</option>
															<option value="全天" <%if("全天".equals(roomempoly.getRemarks()))out.print("selected"); %>>全天</option>
														</select>
													</td>
													<td>
														&nbsp;
													</td>
												</tr>
																<tr>
																	<td align="right">
																		<img src="images/dfdf_03.gif" />
																		&nbsp;参会人:
																	</td>
																	<td>
																	<!-- <input readonly="readonly" value="" type="text" size="95"
																			style="border: 1px #C0C0C0 solid; background: #F4F4F4; height: 19px" /> -->
																			<textarea name="content" cols="30" rows="5" readonly="readonly"><%=meetingName %></textarea>
																	</td>
																	<td>
																		&nbsp;
																	</td>
																</tr>
																<tr>
																	<td align="right">
																		<img src="images/dfdf_03.gif" />
																		&nbsp;会议纪要内容:
																	</td>
																	<td>
																		<textarea name="minutes" cols="30" rows="10"><%=roomempoly.getMinutes() %></textarea>
																	</td>
																	<td>
																		&nbsp;
																	</td>
																</tr>
															<tr>
																<th colspan="3">
																	&nbsp;
																</th>
															</tr>
														</table>
													</div>
												</td>
											</tr>
											<tr>
												<td>
													<img src="images/lwxx_03.gif" />
												</td>
											</tr>
										</table>
									</td>
									<td width="30%" valign="bottom">
										<img src="images/computer02.gif" />
									</td>
								</tr>
							</table>
						</div>
					</td>
				</tr>
			</table>
			</div>
		</form>
	</body>
</html>